﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
   public class ShoppingBll:BaseBll<MODEL.Shopping>
    {
       private const string _type = "ShoppingDal";
        private IDAL.IShoppingDal _dal;
        public ShoppingBll()
            : base(_type)
        {
            _dal = base.dal as IDAL.IShoppingDal;
            if (_dal == null)
            {
                throw new NullReferenceException(_type);
            }
        }
        public int delall(string id)
        {
            return _dal.delall(id);
        }

    }
}
